package com.ruoyi.system.mapper.aggregation;

import java.util.List;
import com.ruoyi.system.domain.aggregation.Proportion;

/**
 * 分佣比例Mapper接口
 * 
 * @author ruoyi
 * @date 2025-01-01
 */
public interface ProportionMapper 
{
    public Proportion selectProportionById(Long id);
    public List<Proportion> selectProportionList(Proportion proportion);
    public Proportion selectProportionByTypeAndRole(Integer type, Integer roleType);
    public int insertProportion(Proportion proportion);
    public int updateProportion(Proportion proportion);
    public int deleteProportionById(Long id);
}

